package com.app.common;

import org.commonmark.node.Image;
import org.commonmark.node.Node;
import org.commonmark.renderer.html.AttributeProvider;

import java.util.Map;

/**
 * @Author 56465
 * @Create 2024/7/30 10:26
 */
public class NodeAttributeProvider implements AttributeProvider {
    @Override
    public void setAttributes(Node node, String tagName, Map<String, String> attributes) {
        attributes.put("contenteditable", "true");
    }
}
